package cn.iocoder.yudao.module.crm.controller.admin.subject.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 栏目 Response VO")
@Data
@ExcelIgnoreUnannotated
public class SubjectRespVO {

    @Schema(description = "角色ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13779")
    @ExcelProperty("角色ID")
    private Long id;

    @Schema(description = "父id", example = "28763")
    @ExcelProperty("父id")
    private Long parentId;

    @Schema(description = "父栏目名称", example = "")
    private String parentName;

    @Schema(description = "栏目名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("栏目名称")
    private String name;

    @Schema(description = "url", example = "https://www.iocoder.cn")
    @ExcelProperty("url")
    private String url;

    @Schema(description = "展示顺序")
    @ExcelProperty("展示顺序")
    private Integer sort;

    @Schema(description = "级别")
    @ExcelProperty("级别")
    private Integer level;

    @Schema(description = "前台是否显示0显示-1不显示")
    @ExcelProperty("前台是否显示0显示-1不显示")
    private Integer display;

    @Schema(description = "是否已禁用。{ 0：正常；1：禁用；}", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否已禁用。{ 0：正常；1：禁用；}")
    private Integer status;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}